
VFGEditor.prototype.handleForPOI = function (id) {
	var _this=this;
	

	var pt1 = new Cesium.Cartesian2(0,0);
	var pt2= new Cesium.Cartesian2(500,500);
	var pick1= _this.viewer.scene.globe.pick(viewer.camera.getPickRay(pt1), _this.viewer.scene);
	var pick2= _this.viewer.scene.globe.pick(viewer.camera.getPickRay(pt2), _this.viewer.scene);
	
	console.log();
	 
/*	//将三维坐标转成地理坐标
	var geoPt1= _this.viewer.scene.globe.ellipsoid.cartesianToCartographic(pick1);
	var geoPt2= _this.viewer.scene.globe.ellipsoid.cartesianToCartographic(pick2);
	 
	//地理坐标转换为经纬度坐标
	var point1=[geoPt1.longitude / Math.PI * 180,geoPt1.latitude / Math.PI * 180];            
	var point2=[geoPt2.longitude / Math.PI * 180,geoPt2.latitude / Math.PI * 180]; 
	
	console.log(point1,point2);*/

	
	
	
/*	_this.ajaxFunc(_this.ctx+"/biz/flight/getFlightRender",{flightId:id}, "json", function(res){
        if (undefined!=res && 200==res.code) {
       	 layer.msg(res.message);
       	 var flightPrimitive=new VFG.VFGFlightPrimitive(_this.viewer,res.data);
         //flightPrimitive.start();
         //flightPrimitive.aircraftView();
       	 
       }else{
       	 layer.msg(res.message);
       }
    });*/
};

